/*
 * WirelessComms.h
 *
 *  Created on: May 30, 2011
 *      Author: akassim
 */

#include "XBeeInterface.h"
//using namespace std;

#ifndef WIRELESSCOMMS_H_
#define WIRELESSCOMMS_H_

class WirelessCommsPCP {
public:
	WirelessCommsPCP();
	char* retrieveMessages();
	void move(int Dest);
	void turn(int Dest, int degreeTurn);
	void stop(int Dest);
	void onRampMove(int Dest);
	void offRampMove(int Dest);
	void moveForward(int Dest);
	void fixLineFollowing(int Dest);
	virtual ~WirelessCommsPCP();
private:
	XBeeInterface * x;
	char * buffer;
};

#endif /* WIRELESSCOMMS_H_ */
